package og.example.entity;

public class Group {
    private Integer groupId;
    private String groupName;
    private String className;
    private int studentCount;

    // 添加一个构造函数
    public Group(Integer groupId, String groupName, String className, int studentCount) {
        this.groupId = groupId;
        this.groupName = groupName;
        this.className = className;
        this.studentCount = studentCount;
    }

    // Getter 和 Setter 方法
    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getStudentCount() {
        return studentCount;
    }

    public void setStudentCount(int studentCount) {
        this.studentCount = studentCount;
    }
}